home *** CD-ROM | disk | FTP | other *** search
-
-
-
- XXXXmmmmTTTTeeeexxxxttttSSSSeeeettttSSSSoooouuuurrrrcccceeee((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmTTTTeeeexxxxttttSSSSeeeettttSSSSoooouuuurrrrcccceeee((((3333XXXX))))
-
-
-
- NNNNAAAAMMMMEEEE
- _X_m_T_e_x_t_S_e_t_S_o_u_r_c_e - A Text function that sets the source of
- the widget
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- #include <Xm/Text.h>
-
- void XmTextSetSource (wwwwiiiiddddggggeeeetttt,,,, ssssoooouuuurrrrcccceeee,,,, ttttoooopppp____cccchhhhaaaarrrraaaacccctttteeeerrrr,,,, ccccuuuurrrrssssoooorrrr____ppppoooossssiiiittttiiiioooonnnn)
- _W_i_d_g_e_t wwwwiiiiddddggggeeeetttt;
- _X_m_T_e_x_t_S_o_u_r_c_essssoooouuuurrrrcccceeee;
- _X_m_T_e_x_t_P_o_s_i_t_i_o_nttttoooopppp____cccchhhhaaaarrrraaaacccctttteeeerrrr;
- _X_m_T_e_x_t_P_o_s_i_t_i_o_nccccuuuurrrrssssoooorrrr____ppppoooossssiiiittttiiiioooonnnn;
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- _X_m_T_e_x_t_S_e_t_S_o_u_r_c_e sets the source of the Text widget. Text
- widgets can share sources of text so that editing in one
- widget is reflected in another. This function sets the
- source of one widget so that it can share the source of
- another widget.
-
- Setting a new text source destroys the old text source if no
- other Text widgets are using that source. To replace a text
- source but keep it for later use, create an unmanaged Text
- widget and set its source to the text source you want to
- keep.
-
- wwwwiiiiddddggggeeeetttt
- Specifies the Text widget ID
-
- ssssoooouuuurrrrcccceeee
- Specifies the source with which the widget displays
- text. This can be a value returned by the
- _X_m_T_e_x_t_G_e_t_S_o_u_r_c_e(_3_X) function. If no source is
- specified, the widget creates a default string source.
-
- ttttoooopppp____cccchhhhaaaarrrraaaacccctttteeeerrrr
- Specifies the position in the text to display at the
- top of the widget. This is an integer number of
- characters from the beginning of the text buffer. The
- first character position is 0.
-
- ccccuuuurrrrssssoooorrrr____ppppoooossssiiiittttiiiioooonnnn
- Specifies the position in the text at which the insert
- cursor is located. This is an integer number of
- characters from the beginning of the text buffer. The
- first character position is 0.
-
- For a complete definition of Text and its associated
- resources, see _X_m_T_e_x_t(_3_X).
-
- RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
- _X_m_T_e_x_t(_3_X).
-
-
-
- Page 1 (printed 11/11/03)
-
-
-
-